- @no_container = true
- page_title _('Contributors')

.js-graphs-show{ class: container_class, 'data-project-graph-path': project_graph_path(@project, current_ref, format: :json) }
  .sub-header-block
    .tree-ref-holder.inline.vertical-align-middle
      = render 'shared/ref_switcher', destination: 'graphs'
    = link_to s_('Commits|History'), project_commits_path(@project, current_ref), class: 'btn'

  .loading-graph
    .center
      %h3.page-title
        %i.fa.fa-spinner.fa-spin
        = s_('ContributorsPage|Building repository graph.')
      %p.slead
        = s_('ContributorsPage|Please wait a moment, this page will automatically refresh when ready.')

  .stat-graph.hide
    .header.clearfix
      %h3#date_header.page-title
      %p.light
        = s_('ContributorsPage|Commits to %{branch_name}, excluding merge commits. Limited to 6,000 commits.') % { branch_name: @ref }
      %input#brush_change{ :type => "hidden" }
    .graphs.row
      #contributors-master
      #contributors.clearfix
        %ol.contributors-list.row
